
import androidx.room.RenameColumn
import androidx.room.migration.AutoMigrationSpec
import androidx.sqlite.db.SupportSQLiteDatabase

/**
 * Author: Jason Zhang
 * Date: 2025/8/22
 * Desc: 修改字段
 */

@RenameColumn(tableName = "user_info", fromColumnName = "name", toColumnName = "user_name")
class UserInfoColumnNameMigration: AutoMigrationSpec{

    override fun onPostMigrate(db: SupportSQLiteDatabase) {
        super.onPostMigrate(db)
    }

}